qn.teora.group
Open in
urlscan Pro
217.119.27.106
Public Scan
URL:
https://qn.teora.group/un9021/uniset2/-/blob/1126a530d00ea2b5016cecc6914ead6c3e28e6c8/extensions/OPCUAExchange/tests/OP...
Submission: On August 09 via api from US — Scanned from CA
Submission: On August 09 via api from US — Scanned from CA
Form analysis
3 forms found in the DOM<form tabindex="-1" class="b-dropdown-form gl-p-0">
<div class="gl-display-flex gl-align-items-stretch">
<div data-testid="menu-sidebar" class="gl-w-grid-size-30 gl-flex-shrink-0 gl-bg-gray-10 gl-p-3 gl-w-full">
<div class="gl-display-flex gl-align-items-stretch gl-flex-direction-column">
<div data-testid="menu-section" class=""><strong data-testid="menu-header" class="gl-px-4 gl-py-2 gl-text-gray-900 gl-display-block"> Explore </strong><a aria-label="Projects" data-qa-selector="menu_item_link" data-qa-title="Projects" href="/explore" class="btn top-nav-menu-item gl-display-block gl-pr-3! gl-w-full btn-default btn-md gl-button btn-default-tertiary gl-shadow-none! gl-font-weight-bold! active gl-mt-1" data-testid="menu-item"><!----> <!----> <span class="gl-button-text"><span class="gl-display-flex"><svg data-testid="project-icon" role="img" aria-hidden="true" class="gl-icon s16 gl-mr-3!"><use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#project"></use></svg>
Projects
<!----></span></span></a><a aria-label="Groups" data-qa-selector="menu_item_link" data-qa-title="Groups" href="/explore/groups" class="btn top-nav-menu-item gl-display-block gl-pr-3! gl-w-full btn-default btn-md gl-button btn-default-tertiary gl-mt-1" data-testid="menu-item"><!----> <!----> <span class="gl-button-text"><span class="gl-display-flex"><svg data-testid="group-icon" role="img" aria-hidden="true" class="gl-icon s16 gl-mr-3!"><use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#group"></use></svg>
Groups
<!----></span></span></a><a aria-label="Snippets" data-qa-selector="menu_item_link" data-qa-title="Snippets" href="/explore/snippets" class="btn top-nav-menu-item gl-display-block gl-pr-3! gl-w-full btn-default btn-md gl-button btn-default-tertiary gl-mt-1" data-testid="menu-item"><!----> <!----> <span class="gl-button-text"><span class="gl-display-flex"><svg data-testid="snippet-icon" role="img" aria-hidden="true" class="gl-icon s16 gl-mr-3!"><use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#snippet"></use></svg>
Snippets
<!----></span></span></a></div>
</div>
</div>
<div data-testid="menu-subview" data-qa-selector="menu_subview_container" class="gl-w-grid-size-40 gl-overflow-hidden gl-p-3" style="display: none;"></div>
</div>
</form>
GET /search
<form action="/search" accept-charset="UTF-8" method="get">
<div class="gl-search-box-by-type">
<svg class="s16 gl-search-box-by-type-search-icon gl-icon" data-testid="search-icon">
<use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#search"></use>
</svg>
<input autocomplete="off" class="form-control gl-form-input gl-search-box-by-type-input" data-qa-selector="search_box" id="search" name="search" placeholder="Search GitLab" type="text">
</div>
<input type="hidden" name="project_id" id="project_id" value="19" autocomplete="off">
<input type="hidden" name="scope" id="scope" autocomplete="off">
<input type="hidden" name="search_code" id="search_code" value="true" autocomplete="off">
<input type="hidden" name="snippets" id="snippets" autocomplete="off">
<input type="hidden" name="repository_ref" id="repository_ref" value="1126a530d00ea2b5016cecc6914ead6c3e28e6c8" autocomplete="off">
<input type="hidden" name="nav_source" id="nav_source" value="navbar" autocomplete="off">
<kbd class="gl-absolute gl-right-3 gl-top-0 keyboard-shortcut-helper gl-z-index-1 has-tooltip" data-html="true" data-placement="bottom" title="Use the shortcut key <kbd>/</kbd> to start a search"> / </kbd>
</form>
GET /un9021/uniset2/-/refs/switch
<form class="project-refs-form" action="/un9021/uniset2/-/refs/switch" accept-charset="UTF-8" method="get"><input type="hidden" name="destination" id="destination" value="blob" autocomplete="off">
<div class="dropdown">
<button class="dropdown-menu-toggle js-project-refs-dropdown" type="button" data-toggle="dropdown" data-selected="1126a530d00ea2b5016cecc6914ead6c3e28e6c8" data-ref="1126a530d00ea2b5016cecc6914ead6c3e28e6c8"
data-refs-url="/un9021/uniset2/refs?sort=updated_desc" data-field-name="ref" data-submit-form-on-click="true" data-visit="true" data-qa-selector="branches_dropdown" data-testid="branches-select"><span
class="dropdown-toggle-text ">1126a530d00ea2b5016cecc6914ead6c3e28e6c8</span><svg class="s16 dropdown-menu-toggle-icon gl-top-3" data-testid="chevron-down-icon">
<use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#chevron-down"></use>
</svg></button>
<div class="dropdown-menu dropdown-menu-selectable git-revision-dropdown dropdown-menu-paging" data-qa-selector="branches_dropdown_content">
<div class="dropdown-page-one">
<div class="dropdown-title gl-display-flex"><span class="gl-ml-auto">Switch branch/tag</span><button class="dropdown-title-button dropdown-menu-close gl-ml-auto" aria-label="Close" type="button"><svg class="s16 dropdown-menu-close-icon"
data-testid="close-icon">
<use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#close"></use>
</svg></button></div>
<div class="dropdown-input"><input type="search" data-qa-selector="dropdown_input_field" class="dropdown-input-field" placeholder="Search branches and tags" autocomplete="off"><svg class="s16 dropdown-input-search" data-testid="search-icon">
<use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#search"></use>
</svg><svg class="s16 dropdown-input-clear js-dropdown-input-clear" data-testid="close-icon">
<use href="/assets/icons-5f28ad8ab3377176325e2edb59a58c34611f3e7e6720f4a6096d8105813fafec.svg#close"></use>
</svg></div>
<div class="dropdown-content"></div>
<div class="dropdown-loading">
<div class="gl-spinner-container gl-mt-7" role="status"><span aria-label="Loading" class="gl-spinner gl-spinner-md gl-spinner-dark gl-vertical-align-text-bottom!"></span></div>
</div>
</div>
</div>
</div>
</form>
Text Content
Skip to content GitLab * * Explore Projects Groups Snippets Projects Groups Snippets * / * * Help * * Help * Support * Community forum * Keyboard shortcuts ? * * Submit feedback * Contribute to GitLab * Register * Sign in Toggle navigation Menu * U uniset2 * Project information * Project information * * Activity * Labels * Members * Repository * Repository * * Files * Commits * Branches * Tags * Contributors * Graph * Compare * Issues 0 * Issues 0 * * List * Boards * Service Desk * Milestones * Merge requests 0 * Merge requests 0 * CI/CD * CI/CD * * Pipelines * Jobs * Schedules * Deployments * Deployments * * Environments * Releases * Packages and registries * Packages and registries * * Package Registry * Container Registry * Infrastructure Registry * Monitor * Monitor * * Incidents * Analytics * Analytics * * Value stream * CI/CD * Repository * Wiki * Wiki * Snippets * Snippets * Activity * Graph * Create a new issue * Jobs * Commits * Issue Boards Collapse sidebar Close sidebar Open sidebar * Ura Nechaev * uniset2 * Repository 1126a530d00ea2b5016cecc6914ead6c3e28e6c8 Switch branch/tag * uniset2 * extensions * OPCUAExchange * tests * OPCUATestServer.h Find file BlameHistoryPermalink * (opcua): supported new libopen62541pp (0.3.0) · f63e8d1a Pavel Vaynerman authored 1 year ago f63e8d1a OPCUATestServer.h 1.99 KiB Open in Web IDE Toggle dropdown Open in Web IDE Quickly and easily edit multiple files in your project. -------------------------------------------------------------------------------- Edit Edit this file only. 1 #ifndef OPCUATestServer_H_ 2 #define OPCUATestServer_H_ 3 // ------------------------------------------------------------------------- 4 #include <string> 5 #include <atomic> 6 #include <ostream> 7 #include "open62541pp/open62541pp.h" 8 #include "ThreadCreator.h" 9 // ------------------------------------------------------------------------- 10 /*! Реализация OPCUATestServer для тестирования */ 11 class OPCUATestServer 12 { 13 public: 14 OPCUATestServer( const std::string& addr, uint16_t port = 4840 ); 15 ~OPCUATestServer(); 16 17 inline void setVerbose( bool state ) 18 { 19 verbose = state; 20 } 21 22 void start(); 23 void stop(); 24 bool isRunning(); 25 void setI32( const std::string& varname, int32_t val ); 26 void setBool( const std::string& varname, bool set ); 27 void setI32( int num, int32_t val ); 28 void setF32( const std::string& varname, float val ); 29 30 void setX( int num, int32_t val, opcua::Type type ); 31 int32_t getX( int num, opcua::Type type ); 32 33 int32_t getI32( int num ); 34 int32_t getI32( const std::string& name ); 35 float getF32( const std::string& name ); 36 bool getBool( const std::string& name ); 37 38 protected: 39 void work(); 40 41 struct IONode 42 { 43 opcua::Node<opcua::Server> node; 44 IONode( const opcua::Node<opcua::Server>& n ): node(n) {}; 45 }; 46 47 std::unique_ptr<opcua::Server> server; 48 std::unique_ptr<IONode> ioNode; 49 std::string addr; 50 bool verbose; 51 52 std::unordered_map<int, std::unique_ptr<IONode>> imap; 53 std::unordered_map<std::string, std::unique_ptr<IONode>> smap; 54 std::shared_ptr< uniset::ThreadCreator<OPCUATestServer> > serverThread; 55 56 private: 57 bool disabled; 58 std::string myname; 59 }; 60 // ------------------------------------------------------------------------- 61 #endif // OPCUATestServer_H_ 62 // ------------------------------------------------------------------------- 63 MENU Explore Projects Groups Snippets