Exemple #1
0
 virtual ::boost::shared_ptr< osiris::HttpSessionState > createSessionState( ::boost::shared_ptr< osiris::HttpSession > session, ::osiris::TimeDuration const & duration ) const  {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_createSessionState = this->get_override( "createSessionState" ) )
         return func_createSessionState( session, boost::ref(duration) );
     else{
         __pystate.leave();
         return this->::osiris::IHttpDirectory::createSessionState( session, boost::ref(duration) );
     }
 }
Exemple #2
0
 virtual void onEvent( ::osiris::String const & name, ::osiris::IEvent * e=(nullptr) ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_onEvent = this->get_override( "onEvent" ) )
         func_onEvent( boost::ref(name), boost::python::ptr(e) );
     else{
         __pystate.leave();
         this->::osiris::IHtmlControl::onEvent( boost::ref(name), boost::python::ptr(e) );
     }
 }
Exemple #3
0
 virtual void onRender( ::osiris::HtmlWriter & writer ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_onRender = this->get_override( "onRender" ) )
         func_onRender( boost::ref(writer) );
     else{
         __pystate.leave();
         this->::osiris::HtmlImage::onRender( boost::ref(writer) );
     }
 }
Exemple #4
0
 virtual bool handleRequest( ::boost::shared_ptr< osiris::HttpSession > session, ::osiris::HttpPath const & path ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_handleRequest = this->get_override( "handleRequest" ) )
         return func_handleRequest( session, boost::ref(path) );
     else{
         __pystate.leave();
         return this->::osiris::IHttpDirectoryRegexHandler::handleRequest( session, boost::ref(path) );
     }
 }
Exemple #5
0
 virtual bool matchRequest( ::osiris::String const & url ) const {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_matchRequest = this->get_override( "matchRequest" ) )
         return func_matchRequest( boost::ref(url) );
     else{
         __pystate.leave();
         return this->::osiris::IHttpDirectoryRegexHandler::matchRequest( boost::ref(url) );
     }
 }
Exemple #6
0
 virtual void onSaveViewState( ::osiris::DataTree & state ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_onSaveViewState = this->get_override( "onSaveViewState" ) )
         func_onSaveViewState( boost::ref(state) );
     else{
         __pystate.leave();
         this->::osiris::IHtmlControl::onSaveViewState( boost::ref(state) );
     }
 }
Exemple #7
0
 virtual ::boost::shared_ptr< osiris::HttpSession > getSession(  ) const  {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_getSession = this->get_override( "getSession" ) )
         return func_getSession(  );
     else{
         __pystate.leave();
         return this->::osiris::IHtmlControl::getSession(  );
     }
 }
Exemple #8
0
 virtual bool init( ::boost::shared_ptr< osiris::IExtensionsModule > module, ::osiris::String const & title, ::osiris::UniqueID const & instance, ::osiris::String const & xml ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_init = this->get_override( "init" ) )
         return func_init( module, boost::ref(title), boost::ref(instance), boost::ref(xml) );
     else{
         __pystate.leave();
         return this->::osiris::ExtensionsModuleControl::init( module, boost::ref(title), boost::ref(instance), boost::ref(xml) );
     }
 }
Exemple #9
0
 virtual bool allowRowMode(  ) const  {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_allowRowMode = this->get_override( "allowRowMode" ) )
         return func_allowRowMode(  );
     else{
         __pystate.leave();
         return this->::osiris::IOMLCode::allowRowMode(  );
     }
 }
Exemple #10
0
 virtual bool getShowBlock(  ) const  {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_getShowBlock = this->get_override( "getShowBlock" ) )
         return func_getShowBlock(  );
     else{
         __pystate.leave();
         return this->::osiris::ExtensionsModuleViewerHidden::getShowBlock(  );
     }
 }
Exemple #11
0
 virtual void onLoad(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_onLoad = this->get_override( "onLoad" ) )
         func_onLoad(  );
     else{
         __pystate.leave();
         this->::osiris::ExtensionsModuleViewerHidden::onLoad(  );
     }
 }
Exemple #12
0
 virtual void onInit(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_onInit = this->get_override( "onInit" ) )
         func_onInit(  );
     else{
         __pystate.leave();
         this->::osiris::IdePositionEditor::onInit(  );
     }
 }
Exemple #13
0
 virtual bool isAccessible( ::boost::shared_ptr< osiris::HttpSession > session ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_isAccessible = this->get_override( "isAccessible" ) )
         return func_isAccessible( session );
     else{
         __pystate.leave();
         return this->::osiris::IHttpDirectory::isAccessible( session );
     }
 }
Exemple #14
0
 virtual ::osiris::String getSessionCookie( ::boost::shared_ptr< osiris::HttpSession > session ) const  {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_getSessionCookie = this->get_override( "getSessionCookie" ) )
         return func_getSessionCookie( session );
     else{
         __pystate.leave();
         return this->::osiris::IHttpDirectory::getSessionCookie( session );
     }
 }
Exemple #15
0
 virtual ::boost::shared_ptr< osiris::IdeSearchParam > getControl(  ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_getControl = this->get_override( "getControl" ) )
         return func_getControl(  );
     else{
         __pystate.leave();
         return this->::osiris::ISearchOptions::getControl(  );
     }
 }
Exemple #16
0
 virtual ::osiris::String processOsml( ::boost::shared_ptr< osiris::OMLItem > i, ::boost::shared_ptr< osiris::OMLContext > context ) const  {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_processOsml = this->get_override( "processOsml" ) )
         return func_processOsml( i, context );
     else{
         __pystate.leave();
         return this->::osiris::IOMLCode::processOsml( i, context );
     }
 }
Exemple #17
0
 virtual void onPreRender(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_onPreRender = this->get_override( "onPreRender" ) )
         func_onPreRender(  );
     else{
         __pystate.leave();
         this->::osiris::IHtmlControl::onPreRender(  );
     }
 }
Exemple #18
0
 virtual void log( ::boost::shared_ptr< osiris::LogMessage > message ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_log = this->get_override( "log" ) )
         func_log( message );
     else{
         __pystate.leave();
         this->::osiris::FileLogger::log( message );
     }
 }
Exemple #19
0
 virtual void renderChilds( ::osiris::HtmlWriter & writer ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_renderChilds = this->get_override( "renderChilds" ) )
         func_renderChilds( boost::ref(writer) );
     else{
         __pystate.leave();
         this->::osiris::IHtmlControl::renderChilds( boost::ref(writer) );
     }
 }
Exemple #20
0
 virtual void renderAttributes( ::osiris::HtmlWriter & writer ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_renderAttributes = this->get_override( "renderAttributes" ) )
         func_renderAttributes( boost::ref(writer) );
     else{
         __pystate.leave();
         this->::osiris::HtmlImage::renderAttributes( boost::ref(writer) );
     }
 }
Exemple #21
0
 virtual bool process( ::boost::shared_ptr< osiris::HttpSession > session, ::osiris::HttpPath const & path ) {
     ::osiris::PythonState __pystate(getPythonThreadState());
     if( ::osiris::PythonOverride func_process = this->get_override( "process" ) )
         return func_process( session, boost::ref(path) );
     else{
         __pystate.leave();
         return this->::osiris::IHttpDirectory::process( session, boost::ref(path) );
     }
 }
Exemple #22
0
 virtual ::boost::shared_ptr< osiris::IConnection > createConnection(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_createConnection = this->get_override( "createConnection" );
     return func_createConnection(  );
 }
Exemple #23
0
 virtual ::osiris::String getPageHref( ::osiris::uint32 offset ) const {
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_getPageHref = this->get_override( "getPageHref" );
     return func_getPageHref( offset );
 }
Exemple #24
0
 virtual void invoke( ::osiris::IEvent * e ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_invoke = this->get_override( "invoke" );
     func_invoke( boost::python::ptr(e) );
 }
Exemple #25
0
 virtual bool handle( ::boost::shared_ptr< osiris::HttpSession > session, ::osiris::HttpPath const & path ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_handle = this->get_override( "handle" );
     return func_handle( session, boost::ref(path) );
 }
Exemple #26
0
 virtual bool resolve( ::osiris::String const & uri, ::osiris::String & resolved ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_resolve = this->get_override( "resolve" );
     return func_resolve( boost::ref(uri), boost::ref(resolved) );
 }
Exemple #27
0
 virtual ::boost::shared_ptr< osiris::IDbParameter > createParameter( ::osiris::uint32 index ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_createParameter = this->get_override( "createParameter" );
     return func_createParameter( index );
 }
Exemple #28
0
 virtual void run(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_run = this->get_override( "run" );
     func_run(  );
 }
Exemple #29
0
 virtual void close(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_close = this->get_override( "close" );
     func_close(  );
 }
Exemple #30
0
 virtual ::osiris::uint32 neededParameters(  ){
     ::osiris::PythonState __pystate(getPythonThreadState());
     ::osiris::PythonOverride func_neededParameters = this->get_override( "neededParameters" );
     return func_neededParameters(  );
 }