2 package org.ocera.orte;
6 * Class DomainProp XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX DOPSAT
8 * @author Lukas Pokorny (lukas_pokorny@centrum.cz)
9 * @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz
11 * @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org)
12 * @author dedication to Kj
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
28 public class DomainProp {
31 /* load native library 'libjorte.so' */
33 System.loadLibrary("jorte");
37 /* handler to C struct with default domain properties */
38 public int handle = 0;
42 * defaultPropsCreate - create DomainProp with handle to default
45 * @return an object with handle to default domain properties
48 DomainProp defaultPropsCreate() {
49 DomainProp prop = new DomainProp();
50 int handle = jORTEDomainPropDefaultGet();
56 /* ****************************************************************** *
60 * ****************************************************************** */
64 * jPropDefaultGet - returns handler to default properties of a domain,
65 * if occures some error return NULL.
67 * @return handler to default properties of a domain, NULL if error
70 int jORTEDomainPropDefaultGet();